<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
{template index/header}
	<div class="container containerUser fix pt15">
		{template member/slide}
		<div class="userRight">
			<div class="userTitle mgb10">交易明细</div> 
			<div class="userMain mgb10">
				<input type="hidden" value="{$limit}" id="id_page_limit"/>
				<ul class="todayView mgb10" style="text-align: left;">
					<em>账号：</em> <input type="text" placeholder="下级交易查询" class="userInput" value="{$username}" id="id_username">&nbsp;
        			<a class="submitBtn" id="id_search_by_account">搜索</a>
        		</ul> 
        		<ul class="searchFirst">
        			<li>
        				<span>摘要：</span> 
          				<select class="selectBox" id="id_log_item">
                            <option value="">全部摘要</option>
                            <option value="recharge">充值入款</option>
                            <option value="postal">提现扣款</option>
                            <option value="order_add">投注扣款</option>
                            <option value="repoint">投注返点</option>
                            <option value="">奖金派送</option>
                            <option value="">提现退回</option>
                            <option value="">活动礼金</option>
                            <option value="">追号停止</option>
                            <option value="">误存提出</option>
                            <option value="">人工存入</option>
                            <option value="">其他优惠</option>
                            <option value="">投注撤单</option>
                            <option value="">代理明细</option>
                      	</select>
            		</li>
            		<li class="_time" id="tag_search_time">
                    	<span>时间：
                        	<a href="javascript:void(0);" class="userSearch time active">今天</a>
                        	<a href="javascript:void(0);" class="userSearch time ">昨天</a>
                        	<a href="javascript:void(0);" class="userSearch time ">七天</a>
                    	</span>
                	</li>
                    <li class="_state" id="tag_search_status">
                    	<span>状态：
                        	<a href="javascript:void(0);" class="userSearch time active">账户明细</a>
                        	<a href="javascript:void(0);" class="userSearch time ">充值记录</a>
                        	<a href="javascript:void(0);" class="userSearch time ">提现记录</a>
                    	</span>
                	</li>
        		</ul> 
        		<div class="searchDetail">
        			<table>
        				<tbody>
        					<tr>
                              	<th style="font-size: 12px;width:133px;">流水号</th>
                              	<th style="font-size: 12px;width:103px;" colspan="1">时间</th>
                              	<th style="font-size: 12px;width:103px;">摘要</th>
                              	<th style="font-size: 12px;width:83px;">收入金额</th>
                              	<th style="font-size: 12px;width:83px;">支出金额</th>
                              	<th style="font-size: 12px;width:83px;">可用余额</th>
                              	<th style="font-size: 12px;width:133px;">备注</th>
                        	</tr>
        				</tbody> 
        				<tbody class="Records_listCont" id="id_moneyLog_list"></tbody>
    				</table>
    			</div> 
    			<div class="page">
    				<p>共<em id="id_all_rows">0</em>条记录</p> 
    				<div id="pageNav" class="pageNav">
    					<div id="pageNav" class="pageNav">
    						<ul class="pagination" style="display: none;" id="id_page_box"></ul>
    					</div>
    				</div>
    			</div> 
    			<div class="userTip mgt15">
    				<p>
    					<i></i>温馨提示：交易明细最多只保留7天。
        			</p>
        		</div>
        	</div>
        </div>
	</div>
	<input type="hidden" id="appointUid" value="{$tagInfo['id']}"/>
	<input type="hidden" id="isagent" value="1"/>
	<script>
		var getDataUrl = "{U('json/func_member')}";
		$('#id_search_by_account').on('click', '', function (){
			window.location = "{U('member/agentBillRecord')}&username=" + $('#id_username').val();
		})
	</script>
	<script src="static/js/member/money_log_init.js"></script>
{template index/footer}